import java.util.Scanner;

public class AAA {
    public static void main(String[] args) {
        Scanner A = new Scanner(System.in);
        String B;
        System.out.println("您是会员吗");
        B = A.next();
        int n;
        System.out.println("请输入总金额");
        n = A.nextInt();
        if (B.equals("yes")) {
            if (n < 100) {
                System.out.println("打九折");
                System.out.println("你需要支付"+":"+(n * 0.9));
            }
            if (n > 100) {
                System.out.println("打八折");
                System.out.println("你需要支付"+":"+(n * 0.8));
            }
        }
        if(B.equals("no")){
            if (n < 100) {
                System.out.println(n);
                System.out.println(n);
            }
            if (n > 100) {
                System.out.println("打九折");
                System.out.println("你需要支付"+":"+(n * 0.9);
            }

        }
    }
}
